import request from "@/utils/request.js";
// 获取所有分类
export const PhotoAll = (params) => {
    return request.post("/photo/all/", params);
}
// 添加分类
export const addPhoto = (params) => {
    return request.post("/photo/add/", params);
}
// 更新分类
export const updatePhoto = (params) => {
    return request.post("/photo/update/", params);
}
// 删除分类
export const delPhoto = (params) => {
    return request.post("/photo/delete/", params);
}
//永久删除
export const trueDelPhoto = (params) => {
    return request.post("/photo/trueDelPhoto/", params);
}

// 根据id查询相册合集
export const photoDeatil = (params) => {
    return request.get("/photo/photoDeatil/", {params});
}
// 提交数据
export const savePhotos = (params) => {
    return request.post("/photo/savePhotos/", params);
}
// 删除相册合集图片
export const deletePhotos = (params) => {
    return request.post("/photo/deletePhotos/", params);
}
